package com.hrbu.spring.service;

import com.hrbu.spring.dao.UserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 徐登宇
 */
@Service
public class UserService {

    @Resource(name = "userDaoImpl")
    UserDao userDao1;

    public void save() {
        userDao1.insert();
    }

}
